home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / smfdoor / frmprefe.frm (.txt) < prev    next >
Visual Basic Form  |  1999-09-11  |  3KB  |  102 lines

  1. VERSION 5.00
  2. Begin VB.Form frmPreferences 
  3.    BackColor       =   &H80000007&
  4.    Caption         =   "DoorWays Preferences"
  5.    ClientHeight    =   2355
  6.    ClientLeft      =   60
  7.    ClientTop       =   405
  8.    ClientWidth     =   4680
  9.    Icon            =   "frmPreferences.frx":0000
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    ScaleHeight     =   2355
  13.    ScaleWidth      =   4680
  14.    StartUpPosition =   3  'Windows Default
  15.    Begin VB.CommandButton cmdChangeHomePage 
  16.       Caption         =   "Change Home Page"
  17.       Height          =   375
  18.       Left            =   2400
  19.       TabIndex        =   5
  20.       Top             =   1320
  21.       Width           =   2055
  22.    End
  23.    Begin VB.CommandButton cmdDeleteRecentsites 
  24.       Caption         =   "Delete Recent Sites"
  25.       Height          =   375
  26.       Left            =   240
  27.       TabIndex        =   4
  28.       Top             =   1320
  29.       Width           =   2055
  30.    End
  31.    Begin VB.CommandButton cmdDone 
  32.       Caption         =   "Done"
  33.       Height          =   375
  34.       Left            =   1560
  35.       TabIndex        =   3
  36.       Top             =   1800
  37.       Width           =   1455
  38.    End
  39.    Begin VB.CheckBox Check1 
  40.       BackColor       =   &H00000040&
  41.       Caption         =   "Check box if you would like to turn off the opening and closing scroll feature."
  42.       ForeColor       =   &H000000FF&
  43.       Height          =   375
  44.       Left            =   720
  45.       TabIndex        =   2
  46.       Top             =   840
  47.       Value           =   1  'Checked
  48.       Width           =   3135
  49.    End
  50.    Begin VB.TextBox txtHomePage 
  51.       Height          =   285
  52.       Left            =   1080
  53.       TabIndex        =   0
  54.       Top             =   360
  55.       Width           =   3495
  56.    End
  57.    Begin VB.Label lblHomePage 
  58.       BackColor       =   &H00000000&
  59.       Caption         =   "Home Page:"
  60.       ForeColor       =   &H000000FF&
  61.       Height          =   255
  62.       Left            =   120
  63.       TabIndex        =   1
  64.       Top             =   360
  65.       Width           =   975
  66.    End
  67. Attribute VB_Name = "frmPreferences"
  68. Attribute VB_GlobalNameSpace = False
  69. Attribute VB_Creatable = False
  70. Attribute VB_PredeclaredId = True
  71. Attribute VB_Exposed = False
  72. Private Sub Check1_Click()
  73.     Open App.Path + "\StartUpScroll" For Output As #1
  74.         opeaningscroll = Check1.Value
  75.         Write #1, opeaningscroll
  76.     Close #1
  77. End Sub
  78. Private Sub cmdChangeHomePage_Click()
  79.     Open App.Path + "\homepage" For Output As #1
  80.         homepage = txtHomePage.Text
  81.         Write #1, homepage
  82.     Close #1
  83. End Sub
  84. Private Sub cmdDeleteRecentsites_Click()
  85.     frmDoorToTheNet.txtAddress.Clear
  86.        Open App.Path + "\RECENT" For Output As #1
  87.        Close #1
  88. End Sub
  89. Private Sub cmdDone_Click()
  90.     frmPreferences.Hide
  91. End Sub
  92. Private Sub Form_Load()
  93. Open App.Path + "\StartUpScroll" For Input As #1
  94.         Input #1, opeaningscroll
  95.     Close #1
  96.     Open App.Path + "\HomePage" For Input As #1
  97.          Input #1, homepage
  98.     Close #1
  99.          txtHomePage.Text = homepage
  100.          Check1.Value = opeaningscroll
  101. End Sub
  102.